/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mycompany.chatapp;

import java.util.ArrayList;
import org.jivesoftware.smack.XMPPConnection;

/**
 *
 * @author Group C
 */
public interface InstantMessage
{
    public boolean login(String userName, String password);
    public void logout();
    public void sendMessageSearchProfile(String Content,String to, int type);
    public void sendMessageUserContent(String IDUser, String addressUser, String URLContent,String to);
    public void sendMessageSearchResult(ImpSearchResult result, String to);
    public void displayContactList();
    public boolean isConnect();
    public ArrayList <ImpContent> getContent(String id);
    public void addHash();
    public XMPPConnection getXMPPConnection();
}
